package com.shen.dao;

import com.shen.pojo.User;
import org.apache.ibatis.annotations.Param;
import org.apache.ibatis.annotations.Select;

import java.util.List;
import java.util.Map;

public interface UserMapper {
    @Select("select * from smbms_user")
    List<User> getUsers();
    @Select("select * from smbms_user where userName = #{name}")
    User getUserByName(@Param("name") String name);
}
